package com.ecube.protocol.common;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 报文枚举
 *
 * @author zhuweijun
 * @version 1.0.0
 * @since 2025/7/31 13:11
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ProtocolFunction {

    Class<? extends Enum<?>> type();

    String value(); // 枚举值的名称
}
